package mipo.top.pet.domain;

import lombok.Data;
import mipo.top.admin.domain.Shop;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class Product {
    private Long id;
    private String name;
    private String resources;
    private BigDecimal costprice;
    private BigDecimal saleprice;
    private Date offsaletime;
    private Date onsaletime;
    private Integer state;
    private Date createtime;
    private Long salecount;
    private Long shopId;

    private Shop shop;
    private ProductDetail detail;
}
